// 饼图配置项
utils.ratioPieOption = {
    title: {
        // text: '能耗合计重量分布饼图',
        // subtext: '2019-4 33所数据',
        textStyle: {
            color: '#fff'
        },
        left: 'center'
    },
    tooltip: {
        trigger: 'item',
        formatter: "{a} <br/>{b}: {c} ({d}%)"
    },
    color:['#3bc2a2', '#6397ff','#3d6bd2','#2148a4', '#f3e5d3', '#494498', '#777ca6', '#47b8a5', '#762ce9'], // 饼图颜色
    // 列表展示条
    legend: {
        show: false,
        orient: 'vertical',
        x: 'left',
        data:['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月', '11月', '12月']
    },
    series: [
        {
            name:'访问来源',
            type:'pie',
            selectedMode: 'single',
            radius: ['15%', '30%'], // 内环的内外半径大小
            label: {
                normal: {
                    formatter: ''
                    // position: 'inner',
                    // fontSize: 9
                }
            },
            labelLine: {
                normal: {
                    show: false
                }
            },
            data:[
                {value:335, name:'1月'},
                {value:310, name:'2月'},
                {value:234, name:'3月'},
                {value:135, name:'4月'},
                {value:148, name:'5月'},
                {value:251, name:'6月'},
                {value:147, name:'7月'},
                {value:102, name:'8月'},
                {value:147, name:'9月'},
                {value:102, name:'10月'},
                {value:102, name:'11月'},
                {value:102, name:'12月'},
            ]
        },
        {
            name:'访问来源',
            type:'pie',
            radius: ['40%', '55%'],
            labelLine: {
                normal: {
                    length: 10,
                },

            },
            data:[
                {value:335, name:'1月'},
                {value:310, name:'2月'},
                {value:234, name:'3月'},
                {value:135, name:'4月'},
                {value:148, name:'5月'},
                {value:251, name:'6月'},
                {value:147, name:'7月'},
                {value:102, name:'8月'},
                {value:147, name:'9月'},
                {value:102, name:'10月'},
                {value:102, name:'11月'},
                {value:102, name:'12月'},
            ]
        }
    ]
};